home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Controls / Visual Basic Controls.iso / vbcontrol / decgrid / unit2.dfm / unit2.txt
Encoding:
Text File  |  1998-09-05  |  8.1 KB  |  339 lines

  1. object DCDemoForm: TDCDemoForm
  2.   Left = 103
  3.   Top = 120
  4.   Width = 626
  5.   Height = 412
  6.   Caption = 'Decision Cube Example Form'
  7.   Font.Charset = DEFAULT_CHARSET
  8.   Font.Color = clWindowText
  9.   Font.Height = -11
  10.   Font.Name = 'MS Sans Serif'
  11.   Font.Style = []
  12.   PixelsPerInch = 96
  13.   TextHeight = 13
  14.   object Panel1: TPanel
  15.     Left = 0
  16.     Top = 0
  17.     Width = 618
  18.     Height = 49
  19.     Align = alTop
  20.     Caption = 'Panel1'
  21.     TabOrder = 0
  22.     object DecisionPivot1: TDecisionPivot
  23.       Left = -1
  24.       Top = 2
  25.       Width = 466
  26.       Height = 47
  27.       ButtonAutoSize = True
  28.       DecisionSource = DecisionSource1
  29.       GroupLayout = xtHorizontal
  30.       Groups = [xtRows, xtColumns, xtSummaries]
  31.       ButtonSpacing = 3
  32.       ButtonWidth = 64
  33.       ButtonHeight = 24
  34.       GroupSpacing = 10
  35.       BorderWidth = 3
  36.       BorderStyle = bsNone
  37.       TabOrder = 0
  38.     end
  39.     object Button1: TButton
  40.       Left = 470
  41.       Top = 24
  42.       Width = 109
  43.       Height = 21
  44.       Caption = 'Preview Report'
  45.       TabOrder = 1
  46.       OnClick = Button1Click
  47.     end
  48.     object Button2: TButton
  49.       Left = 470
  50.       Top = 4
  51.       Width = 109
  52.       Height = 19
  53.       Caption = 'Export to Excel'
  54.       TabOrder = 2
  55.       OnClick = Button2Click
  56.     end
  57.   end
  58.   object DecisionGrid1: TDecisionGrid
  59.     Left = 0
  60.     Top = 49
  61.     Width = 618
  62.     Height = 336
  63.     DefaultColWidth = 90
  64.     DefaultRowHeight = 20
  65.     CaptionColor = clActiveCaption
  66.     CaptionFont.Charset = DEFAULT_CHARSET
  67.     CaptionFont.Color = clCaptionText
  68.     CaptionFont.Height = -11
  69.     CaptionFont.Name = 'MS Sans Serif'
  70.     CaptionFont.Style = []
  71.     DataColor = clInfoBk
  72.     DataSumColor = clNone
  73.     DataFont.Charset = DEFAULT_CHARSET
  74.     DataFont.Color = clWindowText
  75.     DataFont.Height = -11
  76.     DataFont.Name = 'MS Sans Serif'
  77.     DataFont.Style = []
  78.     LabelFont.Charset = DEFAULT_CHARSET
  79.     LabelFont.Color = clWindowText
  80.     LabelFont.Height = -11
  81.     LabelFont.Name = 'MS Sans Serif'
  82.     LabelFont.Style = []
  83.     LabelColor = clBtnFace
  84.     LabelSumColor = clTeal
  85.     DecisionSource = DecisionSource1
  86.     Dimensions = <
  87.       item
  88.         FieldName = 'Payment'
  89.         Color = clNone
  90.         Alignment = taCenter
  91.         Subtotals = True
  92.       end
  93.       item
  94.         FieldName = 'ShipVIA'
  95.         Color = clNone
  96.         Alignment = taCenter
  97.         Subtotals = True
  98.       end
  99.       item
  100.         FieldName = 'Terms'
  101.         Color = clNone
  102.         Alignment = taCenter
  103.         Subtotals = True
  104.       end
  105.       item
  106.         FieldName = 'ShipDate'
  107.         Color = clNone
  108.         Alignment = taCenter
  109.         Subtotals = True
  110.       end
  111.       item
  112.         FieldName = 'COUNT OF AmountPaid'
  113.         Color = clNone
  114.         Alignment = taCenter
  115.         Subtotals = True
  116.       end
  117.       item
  118.         FieldName = 'SUM OF AmountPaid'
  119.         Color = clNone
  120.         Alignment = taCenter
  121.         Subtotals = True
  122.       end
  123.       item
  124.         FieldName = 'COUNT OF ItemsTotal'
  125.         Color = clNone
  126.         Alignment = taCenter
  127.         Subtotals = True
  128.       end
  129.       item
  130.         FieldName = 'Average of ORDERS.AmountPaid'
  131.         Color = clNone
  132.         Alignment = taCenter
  133.         Subtotals = True
  134.       end>
  135.     Totals = True
  136.     ShowCubeEditor = False
  137.     Align = alClient
  138.     Color = clBtnFace
  139.     GridLineWidth = 1
  140.     GridLineColor = clBlack
  141.     TabOrder = 1
  142.   end
  143.   object DecisionCube1: TDecisionCube
  144.     DataSet = DecisionQuery1
  145.     DimensionMap = <
  146.       item
  147.         ActiveFlag = diAsNeeded
  148.         FieldType = ftString
  149.         Fieldname = 'PaymentMethod'
  150.         BaseName = 'ORDERS.PaymentMethod'
  151.         Name = 'Payment'
  152.         DerivedFrom = -1
  153.         DimensionType = dimDimension
  154.         BinType = binNone
  155.         ValueCount = 8
  156.         Active = True
  157.       end
  158.       item
  159.         ActiveFlag = diAsNeeded
  160.         FieldType = ftString
  161.         Fieldname = 'ShipVIA'
  162.         BaseName = 'ORDERS.ShipVIA'
  163.         Name = 'ShipVIA'
  164.         DerivedFrom = -1
  165.         DimensionType = dimDimension
  166.         BinType = binNone
  167.         ValueCount = 6
  168.         Active = True
  169.       end
  170.       item
  171.         ActiveFlag = diAsNeeded
  172.         FieldType = ftString
  173.         Fieldname = 'Terms'
  174.         BaseName = 'ORDERS.Terms'
  175.         Name = 'Terms'
  176.         DerivedFrom = -1
  177.         DimensionType = dimDimension
  178.         BinType = binNone
  179.         ValueCount = 4
  180.         Active = True
  181.       end
  182.       item
  183.         ActiveFlag = diAsNeeded
  184.         FieldType = ftDateTime
  185.         Fieldname = 'ShipDate'
  186.         BaseName = 'ORDERS.ShipDate'
  187.         Name = 'ShipDate'
  188.         DerivedFrom = -1
  189.         DimensionType = dimDimension
  190.         BinType = binYear
  191.         ValueCount = 7
  192.         Active = True
  193.         StartValue = 35431.000000000000000000
  194.       end
  195.       item
  196.         ActiveFlag = diAsNeeded
  197.         FieldType = ftInteger
  198.         Fieldname = 'COUNT OF AmountPaid'
  199.         BaseName = 'ORDERS.AmountPaid'
  200.         Name = 'COUNT OF AmountPaid'
  201.         DerivedFrom = -1
  202.         DimensionType = dimCount
  203.         BinType = binNone
  204.         ValueCount = -1
  205.         Active = True
  206.       end
  207.       item
  208.         ActiveFlag = diAsNeeded
  209.         FieldType = ftCurrency
  210.         Fieldname = 'SUM OF AmountPaid'
  211.         BaseName = 'ORDERS.AmountPaid'
  212.         Name = 'SUM OF AmountPaid'
  213.         DerivedFrom = -1
  214.         DimensionType = dimSum
  215.         BinType = binNone
  216.         ValueCount = -1
  217.         Active = True
  218.       end
  219.       item
  220.         ActiveFlag = diAsNeeded
  221.         FieldType = ftInteger
  222.         Fieldname = 'COUNT OF ItemsTotal'
  223.         BaseName = 'ORDERS.ItemsTotal'
  224.         Name = 'COUNT OF ItemsTotal'
  225.         DerivedFrom = -1
  226.         DimensionType = dimCount
  227.         BinType = binNone
  228.         ValueCount = -1
  229.         Active = True
  230.       end
  231.       item
  232.         ActiveFlag = diActive
  233.         FieldType = ftUnknown
  234.         Fieldname = 'Average of ORDERS.AmountPaid'
  235.         BaseName = 'ORDERS.AmountPaid'
  236.         Name = 'Average of ORDERS.AmountPaid'
  237.         DerivedFrom = 5
  238.         DimensionType = dimAverage
  239.         BinType = binNone
  240.         ValueCount = -1
  241.         Active = True
  242.       end>
  243.     ShowProgressDialog = True
  244.     MaxDimensions = 5
  245.     MaxSummaries = 5
  246.     MaxCells = 1000000
  247.     Left = 571
  248.     Top = 36
  249.   end
  250.   object DecisionQuery1: TDecisionQuery
  251.     Active = True
  252.     DatabaseName = 'DBDEMOS'
  253.     SQL.Strings = (
  254.       
  255.         'SELECT ORDERS.PaymentMethod, "ORDERS.DB".ShipVIA, "ORDERS.DB".Te' +
  256.         'rms, "ORDERS.DB".ShipDate, COUNT( "ORDERS.DB".AmountPaid ), SUM(' +
  257.         ' "ORDERS.DB".AmountPaid ), COUNT( "ORDERS.DB".ItemsTotal )'
  258.       'FROM "ORDERS.DB" ORDERS'
  259.       
  260.         'GROUP BY ORDERS.PaymentMethod, "ORDERS.DB".ShipVIA, "ORDERS.DB".' +
  261.         'Terms, "ORDERS.DB".ShipDate')
  262.     Left = 566
  263.     Top = 30
  264.   end
  265.   object DecisionSource1: TDecisionSource
  266.     DecisionCube = DecisionCube1
  267.     ControlType = xtCheck
  268.     SparseRows = False
  269.     SparseCols = False
  270.     Left = 603
  271.     Top = 48
  272.     DimensionCount = 4
  273.     SummaryCount = 4
  274.     CurrentSummary = 1
  275.     SparseRows = False
  276.     SparseCols = False
  277.     DimensionInfo = (
  278.       1
  279.       0
  280.       1
  281.       0
  282.       0
  283.       2
  284.       0
  285.       1
  286.       0
  287.       0
  288.       1
  289.       -1
  290.       2
  291.       1
  292.       0
  293.       2
  294.       -1
  295.       3
  296.       1
  297.       6)
  298.   end
  299.   object Pdg: TPrintDecisionGrid
  300.     Title = 'Decision Cube Extension'
  301.     TitleFont.Charset = DEFAULT_CHARSET
  302.     TitleFont.Color = clWhite
  303.     TitleFont.Height = -23
  304.     TitleFont.Name = 'Arial'
  305.     TitleFont.Style = []
  306.     TitleAlignment = alcenter
  307.     HeadingFont.Charset = DEFAULT_CHARSET
  308.     HeadingFont.Color = clWhite
  309.     HeadingFont.Height = -13
  310.     HeadingFont.Name = 'Arial'
  311.     HeadingFont.Style = [fsBold]
  312.     HeadingAlignment = alcenter
  313.     DataFont.Charset = DEFAULT_CHARSET
  314.     DataFont.Color = clWhite
  315.     DataFont.Height = -11
  316.     DataFont.Name = 'Arial'
  317.     DataFont.Style = []
  318.     DataAlignment = alcenter
  319.     LeftMargin = 0.250000000000000000
  320.     RightMargin = 0.250000000000000000
  321.     TopMargin = 0.250000000000000000
  322.     BottomMargin = 0.250000000000000000
  323.     PrintPageNums = True
  324.     HeadingFillColor = 8404992
  325.     TitleFillColor = 4194304
  326.     FillTitle = True
  327.     DataFillColor = 12615680
  328.     FillDataCell = True
  329.     DecisionGrid = DecisionGrid1
  330.     FillHeadingCell = True
  331.     Left = 558
  332.     Top = 20
  333.   end
  334.   object Excel: TExpExcel
  335.     Left = 480
  336.     Top = 16
  337.   end
  338. end
  339.